package com.cw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cw.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: MySyetem
 * @description:
 * @author: 张庆恒
 * @create: 2021-08-28 19:08
 **/
public interface MenuMapper extends BaseMapper<Menu> {
    //根据员工的角色id查询该员工所能看到的页面
    List<Menu> getMenu(@Param("roleid") Integer roleid);
}
